@import '@/style/app.scss';

.plugin-goods{
  padding-top: 90px;

  .el-menu.el-menu--horizontal{
    justify-content: end;
    border-bottom: solid 1px $color-back;

    .el-menu-item{
      padding-top: 30px;
    }
  }

  .nav{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: $index - 1;
    
    .el-menu-item, .el-submenu{
      float:right
    }
  }

  .right{
    padding: 30px 30px 30px 280px;

    .flex{
      display: flex;
      justify-content:space-between;
    }
  }

  .left{
    width: 250px;
    border-right: 1px $color-back solid;
    position: absolute;

    .tools{
      padding: 20px;
      text-align: center;
    }

    .el-menu{
      border: 0
    }
  }

  .left-search{
    padding: 30px;
    width: 360px;
    border-right: 1px $color-back solid;
    position: absolute;

    .tools{
      text-align: center;
    }
  }

  .right-search{
    padding: 30px 30px 30px 390px;
  }

  .page{
    padding: 20px;
    .el-pagination{
      justify-content: center;
    }
  }

  .el-avatar{
    background: #fff;
    cursor: pointer;
  }

  .upload{
    width: 198px;
    height: 198px;
    border:1px $color-border dashed;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center; 

    &:hover{
      border-color: $color;
    }

    i{
      font-size: 25px;
      color: $color-icon;
    }
  }

  .goods-image{
    float: left; 
    margin-right: 10px;
  }

  .goods-name{
    height: 45px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    .item{
      width: 100%;
    }

    .code{
      color: $color-icon;
    }
  }

  .table-row-on{
    background-color: $color-back;
  }

  .create{
    .left-search{
      width: 320px;
      padding: 0px;

      .box{
        padding: 30px;
      }
    }

    .center-goods{
      padding: 30px 400px 30px 350px;

      .tag{
        font-size: 14px;
        line-height: 30px;
        height: 32px;
      }
    }

    .right-form{
      padding: 30px;
      width: 370px;
      border-left: 1px $color-back solid;
      position: absolute;
      right: 0;
      top: 0;

      .tools{
        padding-top: 20px;
        text-align: center;
      }
    }
  }

  .label-form{
    padding: 30px 30px 30px 53%;
  }

  .label-view{
    width: 50%;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
  }
}